package com.cskaoyan.service.wx;

import com.cskaoyan.bean.CategoryId;
import com.cskaoyan.bean.wxbean.WxHomeBean.GoodsListBean;

import java.util.List;
import java.util.Map;

/**
 * Created by Enzo Cotter on 2020/10/8.
 */
public interface CategoryService {

    Integer queryPidById(Integer currentSubCategoryId);

    List<CategoryId> queryAllCategoriesL2(Integer parentCategoryId);

    CategoryId getCategoryById(Integer currentSubCategoryId);

    Map<String, Object> queryWxRelatedList(Integer id);

    List<GoodsListBean> queryGoodsListById(Integer categoryId);

    List<CategoryId> queryCategoryListByKeyWord(String order, String sort, String keyword);

    List<GoodsListBean> queryGoodsListByKeyWord(String order, String sort, String keyword);
}
